package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 网端与资源关系表-实体
 * @author zfsn
 * @date 2023-5-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "网端与资源关系表", description = "")
@TableName("conf_segment_resource_relation")
public class ConfSegmentResourceRelation extends BasePage<ConfSegmentResourceRelation> {

	/**
	 * id
	 */
	@ApiModelProperty(value = "id", notes = "id")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 网端id
	 */
	@ApiModelProperty(value = "网端id", notes = "网端id")
	private Integer segmentId;

	/**
	 * 资源字符串
	 */
	@ApiModelProperty(value = "资源字符串", notes = "资源字符串")
	private String resourceStr;

	/**
	 * 资源类型，1：url（默认）
	 */
	@ApiModelProperty(value = "资源类型，1：url（默认）", notes = "资源类型，1：url（默认）")
	private Integer type;

	/**
	 * 系统id
	 */
	@ApiModelProperty(value = "系统id", notes = "系统id")
	private Integer systemId;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", notes = "创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", notes = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@ApiModelProperty(value = "更新人", notes = "更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间", notes = "更新时间")
	private LocalDateTime updateTime;

	/**
	 * 是否逻辑删除，0：否、1：是
	 */
	@ApiModelProperty(value = "是否逻辑删除，0：否、1：是", notes = "是否逻辑删除，0：否、1：是")
	private Integer isDel;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", notes = "备注")
	private String remarks;

}